# -*- coding: utf-8 -*-
class loginPage():
    #底部控件
    def __init__(self,driver):
        self.driver = driver

    def userName(self):
        return self.driver.find_element_by_xpath('//*[@id="username"]')
    def pwdWord(self):
        return self.driver.find_element_by_xpath('//*[@id="password"]')
    def submit(self):
        return self.driver.find_element_by_xpath('//*[@id="app"]/div/div[2]/div[2]/div/div[4]/input')
